const baseUrl ="https://nideshop2.bluej.cn/api/";

// 首屏列表数据
const index =baseUrl+"index/index";

// 分类数据
const category = baseUrl +"catalog/current";

// 分类名称
const className = baseUrl +'catalog/index';

// 首页商品
const goodDetails = baseUrl +'goods/detail';

const shopCar = baseUrl +'cart/index';

// 更新购物车
const updateCar = baseUrl +'cart/update';

// 是否选中
const checked = baseUrl +'cart/checked';


const addCar = baseUrl +'cart/add';
// 删除购物车商品
const deleteShopCarData = baseUrl +'cart/delete';
// 登录页面
const login = baseUrl +'auth/loginByWeixin';

// 下单前信息确认
const beforeCheckout = baseUrl+'cart/checkout';

// 分类商品详情列表内的数据
const goodsList = baseUrl +'goods/list';

// 收货地址列表
const addressList = baseUrl +'address/list';

// 收货地址区域列表
const regionList = baseUrl +'region/list';

// 保存收货地址
const saveAddress = baseUrl +'address/save';

// 收货地址详情，用于更改地址
const changeAddress = baseUrl +'address/detail';

// 删除收货地址
const deleteAddress = baseUrl +'address/delete';
export default{
  index,
  category,
  className,
  goodDetails,
  shopCar,
  updateCar,
  checked,
  addCar,
  deleteShopCarData,
  login,
  beforeCheckout,
  goodsList,
  addressList,
  regionList,
  saveAddress,
  changeAddress,
  deleteAddress
}